package com.lbx.springcloud.mapper;

import com.lbx.springcloud.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 吕兵星
 * @date 2020/11/8 15:47
 */
@Repository
@Mapper
public interface DeptMapper {
    Dept getById(long id);

    List<Dept> getAll();

    int addDept(Dept dept);
}
